package com.zhao.data.mapper;

import org.apache.ibatis.annotations.Select;

import com.zhao.data.model.Account;

public interface AccountMapper {
	int deleteByPrimaryKey(Long id);

	int insert(Account record);

	int insertSelective(Account record);

	Account selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(Account record);

	int updateByPrimaryKey(Account record);

	@Select("select * from t_account where username=#{username}")
	Account selectByUsername(String username);
}